package com.rockwell.maze800.model;

public class RobotPosition {
	public RobotLocation location;
	public double left;			// distance from the left wall
	public double right;        // distance from the right wall
	public double orientation;	// the orientation of the robot read from the Compass
	public boolean frontwalldetected;
	public boolean leftwalldetected;
	public boolean rightwalldetected;
	
	public RobotPosition(double left, boolean front, double right, boolean leftWallPresent, boolean rightWallPresent) {
		this.location = RobotLocation.InitialPosition;
		this.left = left;
		this.frontwalldetected = front;
		this.right = right;
		this.orientation = 0;
		this.leftwalldetected = leftwalldetected;
		this.rightwalldetected = rightwalldetected;
	}
}
